package com.lovose.dao;
import java.util.List;

import com.lovose.bean.Person;
import com.lovose.common.*;
public interface PersonDao extends Dao<Person,Long>{
	public List<Person> findAll();
	public List<Person> findByName(String keyword);
	public List<Person> findAllOrderBySalary(boolean asc);
	public List<Person> findAllLite();
	public List<List<String>> findAllPersonNameAndCompanyName();
	public List<Object[]> findClerkAverageSalaryByCompany();
	public List<Object[]> findClerkAverageSalaryByCompanyWithCondition();
}
